package com.scpii.universal.pns.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * PnsMessage entity. @author MyEclipse Persistence Tools
 */

public class PnsMessage implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private String appId;
	private Integer buildPlatform;
	private String title;
	private String icon;
	private String summary;
	private String body;
	private Date startDate;
	private Date expireDate;
	private Date createDate;
	private Integer messageStatus;
	

	// Constructors

	/** default constructor */
	public PnsMessage() {
	}

	/** full constructor */
	public PnsMessage(String appId, Integer buildPlatform, String title, String icon, String summary,
			String body, Date startDate, Date expireDate, Date createDate, Integer messageStatus) {
		this.appId = appId;
		this.buildPlatform = buildPlatform;
		this.title = title;
		this.icon = icon;
		this.summary = summary;
		this.body = body;
		this.startDate = startDate;
		this.expireDate = expireDate;
		this.createDate = createDate;
		this.messageStatus = messageStatus;
		
	}

	// Property accessors

	public PnsMessage(Integer messageId, String appId, Integer buildPlatform, String title, String summary,
			Date startDate, Date expireDate, Integer messageStatus) {
		super();
		this.messageId = messageId;
		this.appId = appId;
		this.buildPlatform = buildPlatform;
		this.title = title;
		this.summary = summary;
		this.startDate = startDate;
		this.expireDate = expireDate;
		this.messageStatus = messageStatus;
	}

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Integer getBuildPlatform() {
		return this.buildPlatform;
	}

	public void setBuildPlatform(Integer buildPlatform) {
		this.buildPlatform = buildPlatform;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getExpireDate() {
		return this.expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Integer getMessageStatus() {
		return this.messageStatus;
	}

	public void setMessageStatus(Integer messageStatus) {
		this.messageStatus = messageStatus;
	}


}